package com.bdcom.autotest.interaction.step;

import java.util.ArrayList;
import java.util.List;

public class FlowBean {

	private  String name;
	private String snPanelClass;
	
	private String picDir;
	private boolean isMenu;
	private ArrayList<StepBean> steps = new ArrayList<>();
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public String getSnPanelClass() {
		return snPanelClass;
	}
	public void setSnPanelClass(String snPanelClass) {
		this.snPanelClass = snPanelClass;
	}
	public ArrayList<StepBean> getSteps() {
		return steps;
	}
	public void setSteps(ArrayList<StepBean> steps) {
		this.steps = steps;
	}
	public void addStep(StepBean step) {
		steps.add(step);
		step.setParent(this);
	}
	public String getPicDir() {
		return picDir;
	}
	public void setPicDir(String picDir) {
		this.picDir = picDir;
	}
	public boolean isMenu() {
		return isMenu;
	}
	public void setMenu(boolean isMenu) {
		this.isMenu = isMenu;
	}
}
